package com.yunhai.ucenter.service;

public interface CaptchaService {

    /**
     * 生成并发送验证码
     */
    public String generateAndSendCaptcha(String phone) throws Exception;

    /**
     * 验证验证码
     */
    public boolean verifyCaptcha(String phone, String captcha);

}
